//数组中添加新元素
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.splice(2,0,"Lemon","Kiwi");
//从第二个元素开始，删除0个元素，并在这个位子上，添加"Lemon","Kiwi"

var fruits1 = ["Banana", "Orange", "Apple", "Mango"];
console.log(fruits1.splice(2,1)) //删除Apple
console.log(fruits1.splice(0,3)) //删除Apple
console.log(fruits1) //删除Apple还剩什么
